package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.CorpApplicationDevice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CorpApplicationDeviceMapper {
    int deleteById(@Param("id") Long id);

    int insert(CorpApplicationDevice record);

    int insertSelective(CorpApplicationDevice record);

    CorpApplicationDevice selectById(@Param("id") Long id);

    CorpApplicationDevice selectByDeviceUniqueId(@Param("deviceUniqueId") Long deviceUniqueId);

    CorpApplicationDevice selectByOpenuserid(@Param("openuserid") String openuserid);

    int updateByIdSelective(CorpApplicationDevice record);

    int updateById(CorpApplicationDevice record);
}